home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000361_fdc@columbia.edu_Fri Feb 8 16:54:44 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  42 lines

  1. Article: 13203 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: if syntax change
  6. Date: 8 Feb 2002 16:54:37 -0500
  7. Organization: Columbia University
  8. Lines: 25
  9. Message-ID: <a41het$1na$1@watsol.cc.columbia.edu>
  10. References: <26dc2188.0202081336.79eb8459@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1013205278 24121 128.59.39.139 (8 Feb 2002 21:54:38 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 8 Feb 2002 21:54:38 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13203
  16.  
  17. In article <26dc2188.0202081336.79eb8459@posting.google.com>,
  18. David L. Harfst <harfst@cms-stl.com> wrote:
  19. : I have the following block of code which runs fine on 
  20. : C-Kermit 6.0.192 on HP-UX 10.20:
  21. :   xif EQUAL \$(SPEED) 14400 {
  22. :     # +MS=10 - Limits the connection speed to 14.4 KBaud
  23. :     set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
  24. :   }
  25. : I'm trying to port this script to Linux, on which I'm
  26. : running C-Kermit 8.0.200 and RedHat 7.2.
  27. : ?Invalid:   xif EQUAL \$(SPEED) 14400 {,   set modem command
  28. : Init-string AT&F0+MS=10M0X4V1S95=41\{13}
  29. :
  30. I think the problem is that the environment variable SPEED is not
  31. defined.  Thus a field is missing.  You could do it this way:
  32.  
  33.   xif EQUAL "\$(SPEED)" "14400" {
  34.     # +MS=10 - Limits the connection speed to 14.4 KBaud
  35.     set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
  36.   }
  37.  
  38. - Frank
  39.